package com.cl.pattern.builder.part2;


/**
 * @ClassName Application
 * @Description
 * @Author Small
 * @Date 2020/6/2 16:39
 * @Version 1.0
 **/
public class Application {
    public static void main(String[] args) {
        ConcreteBuilder concreteBuilder = new ConcreteBuilder();
        Product build = concreteBuilder
                .drawHead("大头")
                .drawBody("胖身子")
                .drawHand("小手")
                .drawFoot("大脚")
                .build();
        System.out.println(build.toString());
    }
}
